using SkaldRogueLike.Main.Common;
using SkaldRogueLike.Main.Constants.Enumerations;

namespace CatSkaldRoguelike.ConsoleGame
{
    public class Cell
    {
        public int X { get; set; }
        public int Y { get; set; }

        public string Image { get; set; }
        public Colors Color { get; set; }

        public bool IsEmpty { get { return Image != Styles.Wall; } }
        public bool IsDoor { get { return Image == Styles.DoorOpened || Image == Styles.DoorClosed; } }
        public bool IsStairs { get { return Image != Styles.UpStairs || Image == Styles.DownStairs; } }

        public Cell(int x, int y, string image, Colors color)
        {
            X = x;
            Y = y;
            Image = image;
            Color = color;
        }
    }
}